//
//  MusicControl.h
//  iPhoneControlApplication
//
//  Created by Elliot Chapple on 11/04/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface MusicControl : UIViewController {
	//IBOutlets for the interface
	IBOutlet	UIButton	*playButton;
	IBOutlet	UIButton	*pauseButton;
	IBOutlet	UIButton	*nextTrack; 
	IBOutlet	UIButton	*previousTrack;
	IBOutlet	UIButton	*shuffle;
	IBOutlet	UIButton	*repeat;
	IBOutlet	UIButton	*mute;
	IBOutlet	UIButton	*eject;
	IBOutlet	UISlider	*volumeSlider;
	IBOutlet	UILabel		*trackName;
	IBOutlet	UILabel		*trackArtist;
	IBOutlet	UILabel		*trackAlbum;
	IBOutlet	UIImage		*trackArtwork;
	
}

//Object Properties

@property (nonatomic, retain)	UIButton	*playButton;
@property (nonatomic, retain)	UIButton	*pauseButton;
@property (nonatomic, retain)	UIButton	*nextTrack; 
@property (nonatomic, retain)	UIButton	*previousTrack;
@property (nonatomic, retain)	UIButton	*shuffle;
@property (nonatomic, retain)	UIButton	*repeat;
@property (nonatomic, retain)	UIButton	*mute;
@property (nonatomic, retain)	UIButton	*eject;
@property (nonatomic, retain)	UISlider	*volumeSlider;
@property (nonatomic, retain)	UILabel		*trackName;
@property (nonatomic, retain)	UILabel		*trackArtist;
@property (nonatomic, retain)	UILabel		*trackAlbum;
@property (nonatomic, retain)	UIImage		*trackArtwork;




//Master Methods

-(IBAction)volumeSliderChange:(id)sender;
-(IBAction)buttonPress:(id)sender;
-(IBAction)nowPlayingInformation;






@end
